//导入request
import request, {requestStationAPI} from "@/utils/request.js";
//导出login方法
export function Login(data){
    return request.post("/user/info/login",data)
}
export function GetStaffList(userName){
    return request.get("/user/info/getUserList",{params:userName})
}
export function Registry(data){
    return request.post("/user/info/registry",data)
}
export function Edit(data){
    return request.post("/user/info/updateUser",data)
}
export function DeleteStaff(data){
    return request.delete("/user/info/delete?userId="+data)
}
export function addBlackList(data){
    return request.get("/user/info/addBlackList?userId="+data)
}

export function znxList(){
    return request.get("/role/menu/znx/list")
}